package com.jbp.model;


import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 锤子种类对象
 */
@ApiModel(value="HammerType对象",description="锤子种类对象")
@Data
public class HammerType implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    private Integer id;

    //锤子类型名称
    private String name;

    //积分
    private Integer points;

    //创建时间
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    //修改时间
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

    //标识：1-木锤；2-铜锤；3- 金锤
    private String hammerType;

}
